* - The optional blur radius is parsed, but it is currently not
* rendered by the GTK+ theming engine.
*
- * To set a shadow on an icon, use the `icon-shadow` property instead,
+ * To set a shadow on an icon, use the `-gtk-icon-shadow` property instead,
* with the same syntax.
*
* To set multiple shadows on an element, you can specify a comma-separated list
- * of shadow elements in the `text-shadow` or `icon-shadow` property. Shadows are
+ * of shadow elements in the `text-shadow` or `-gtk-icon-shadow` property. Shadows are
* always rendered front to back (i.e. the first shadow specified is on top of the
* others). Shadows can thus overlay each other, but they can never overlay the
* text or icon itself, which is always rendered on top of the shadow layer.
"initial-value", initial_value,
"name", name,
NULL);
-
+
node->parse_value = parse_value;
node->query_value = query_value;
node->assign_value = assign_value;
NULL,
NULL,
_gtk_css_image_value_new (gtk_css_image_builtin_new ()));
- gtk_css_style_property_register ("icon-shadow",
+ gtk_css_style_property_register ("-gtk-icon-shadow",
GTK_CSS_PROPERTY_ICON_SHADOW,
G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT | GTK_STYLE_PROPERTY_ANIMATED,
NULL,
NULL,
_gtk_css_shadows_value_new_none ());
+ _gtk_style_property_add_alias ("-gtk-icon-shadow", "icon-shadow");
gtk_css_style_property_register ("-gtk-icon-style",
GTK_CSS_PROPERTY_ICON_STYLE,
G_TYPE_NONE,